#include "data.hpp"
#include "cloud.hpp"

#define BACKUP_FILE "./backup.dat"
#define BACKUP_DIR "./backup"
int main() {
	/*cloud::FileUtil fu("./");
	std::vector<std::string> array;
	fu.ScanDirectory(&array);

	cloud::DataManager data(BACKUP_FILE);

	for (auto& ele : array) {
		data.Insert(ele, "sdadasda");
	}
	std::cout << "\n";*/

	/*cloud::DataManager data(BACKUP_FILE);
	std::string str;
	data.GetOneByKey(".\\backup\\cloud.hpp", &str);
	std::cout << str << std::endl;*/

	cloud::Backup backup(BACKUP_DIR, BACKUP_FILE);
	backup.RunModule();
	return 0;
}